Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
interface System.​Linq.​IOrderedEnumerable<​TElement>
Assembly: System.Linq
Implemented Interfaces
Represents a sorted sequence.
Methods
IOrderedEnumerable<​TElement>
CreateOrderedEnumerable​(Func<​TElement, TKey> keySelector,
Collections.​Generic.​IComparer?<​TKey> comparer,
bool descending)
Performs a subsequent ordering on the elements of an <see cref="T:System.Linq.IOrderedEnumerable`1" /> according to a key.
Returns An <see cref="T:System.Linq.IOrderedEnumerable`1" /> whose elements are sorted according to a key.
keySelector
The <see cref="T:System.Func`2" /> used to extract the key for each element.
comparer
The <see cref="T:System.Collections.Generic.IComparer`1" /> used to compare keys for placement in the returned sequence.
descending
<see langword="true" /> to sort the elements in descending order; <see langword="false" /> to sort the elements in ascending order.